Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

repeating

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

repeating

Repeat a string - fast

  • 2.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.9M
decreased by-45.78%
Maintainers
1
Weekly downloads
 
Created

What is repeating?

The 'repeating' npm package is a simple utility that allows you to create a new string by repeating a given string a specified number of times. It is useful for generating repeated patterns, filling spaces, or creating specific string-based designs programmatically.

What are repeating's main functionalities?

String repetition

This feature allows you to repeat a string a specified number of times. The first argument is the number of times to repeat, and the second argument is the string to repeat.

const repeating = require('repeating');
console.log(repeating(3, 'abc')); // 'abcabcabc'

Other packages similar to repeating

Keywords

FAQs

Package last updated on 11 Apr 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc